import {PageContainer} from "@ant-design/pro-layout";
import ProForm, {ProFormUploadButton, ProFormUploadDragger} from '@ant-design/pro-form';

const Upload = () => {


  return (
    <PageContainer>
      <ProForm>
        <ProFormUploadButton
          name="upload"
          label="Upload"
          max={1}
          fieldProps={{
            name: 'file',
            listType: 'picture-card',
          }}
          action="http://127.0.0.1:8082/file/upload"
          extra="longgggggggggggggggggggggggggggggggggg"
        />
      </ProForm>
    </PageContainer>
  );
};

export default Upload;
